﻿<UserControl  x:Class="WPFExcelReport.Controls.TDATE"
              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
               xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
               xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"   
               xmlns:me="clr-namespace:WPFExcelReport.Controls" 
              Background="White"  
              Name="TV"
     >
    <UserControl.Resources> 
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
    </UserControl.Resources>
    <WrapPanel >
        <TextBox Text="{Binding Text,ElementName=TV}" />
        <CheckBox Name="cK" />
        <DatePicker Visibility="{Binding IsChecked,ElementName=cK,Converter={StaticResource bv}}"/>
    </WrapPanel>
</UserControl >
